<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-themes-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no, email=no">
    <title>帮助中心 - 快答答题</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #e6f0ff 100%);
            color: #333;
            line-height: 1.6;
            min-height: 100vh;
            padding-bottom: 30px;
        }
        
        /* 标题栏样式 */
        #header {
            background: linear-gradient(90deg, #2575fc, #6a11cb);
            padding: 15px 20px;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .header_con {
            display: flex;
            align-items: center;
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }
        
        .header_con a {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: white;
            font-size: 18px;
            transition: all 0.3s ease;
            padding: 8px;
            position: absolute;
            left: 0;
        }
        
        .header_con a:hover {
            transform: translateX(-5px);
        }
        
        .header_con a span {
            display: inline-block;
            width: 24px;
            height: 24px;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"/></svg>') no-repeat center;
            background-size: contain;
        }
        
        .top_tit {
            flex: 1;
            text-align: center;
            font-size: 18px;
            font-weight: 600;
            color: white;
            text-shadow: 0 1px 2px rgba(0,0,0,0.1);
        }
        
        /* 主内容区 */
        .about_box {
            max-width: 800px;
            margin: 30px auto;
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        /* 搜索区域 */
        .search-box {
            width: 100%;
            max-width: 600px;
            margin-bottom: 30px;
            position: relative;
            animation: fadeIn 0.5s ease-out;
        }
        
        .search-box input {
            width: 100%;
            padding: 15px 50px 15px 20px;
            border-radius: 50px;
            border: none;
            box-shadow: 0 5px 20px rgba(37, 117, 252, 0.15);
            font-size: 16px;
            transition: all 0.3s ease;
        }
        
        .search-box input:focus {
            outline: none;
            box-shadow: 0 8px 25px rgba(37, 117, 252, 0.25);
        }
        
        .search-box i {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: #7f8c8d;
            font-size: 20px;
        }
        
        /* 分类区域 */
        .category-section {
            width: 100%;
            margin-bottom: 30px;
            animation: fadeIn 0.5s ease-out 0.1s forwards;
            opacity: 0;
        }
        
        .section-title {
            font-size: 20px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 20px;
            padding-left: 10px;
            position: relative;
            display: flex;
            align-items: center;
        }
        
        .section-title::before {
            content: "";
            display: inline-block;
            width: 5px;
            height: 20px;
            background: linear-gradient(to bottom, #6a11cb, #2575fc);
            border-radius: 3px;
            margin-right: 10px;
        }
        
        .categories {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 15px;
            width: 100%;
        }
        
        .category-item {
            background: white;
            border-radius: 12px;
            padding: 20px 15px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .category-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(37, 117, 252, 0.15);
        }
        
        .category-icon {
            width: 50px;
            height: 50px;
            margin: 0 auto 10px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #e6f0ff 0%, #d1e4ff 100%);
            color: #2575fc;
            font-size: 22px;
        }
        
        .category-item h3 {
            font-size: 15px;
            color: #2c3e50;
            font-weight: 600;
        }
        
        /* 常见问题区域 */
        .faq-section {
            width: 100%;
            animation: fadeIn 0.5s ease-out 0.2s forwards;
            opacity: 0;
        }
        
        .faq-section .section-title {
            margin-top: 30px;
        }
        
        .faq-container {
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .faq-item {
            background: white;
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            border-left: 5px solid #2575fc;
        }
        
        .faq-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(37, 117, 252, 0.15);
        }
        
        .faq-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .faq-question {
            font-size: 17px;
            font-weight: 600;
            color: #2c3e50;
            display: flex;
            align-items: center;
            flex: 1;
        }
        
        .faq-question i {
            color: #2575fc;
            margin-right: 12px;
            font-size: 18px;
        }
        
        .popular-tag {
            background: linear-gradient(90deg, #ff9a9e, #fad0c4);
            color: white;
            font-size: 12px;
            padding: 3px 10px;
            border-radius: 20px;
            margin-left: 10px;
        }
        
        .faq-toggle {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #7f8c8d;
            transition: all 0.3s ease;
        }
        
        .faq-toggle i {
            transition: transform 0.3s ease;
        }
        
        .faq-item.active .faq-toggle i {
            transform: rotate(180deg);
            color: #2575fc;
        }
        
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
            font-size: 15px;
            color: #555;
            line-height: 1.6;
            margin-top: 0;
        }
        
        .faq-item.active .faq-answer {
            max-height: 500px;
            padding-top: 15px;
            margin-top: 15px;
            border-top: 1px dashed #eee;
        }
        
        /* 联系客服区域 */
        .contact-section {
            width: 100%;
            max-width: 600px;
            background: white;
            border-radius: 16px;
            padding: 25px;
            margin-top: 30px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            text-align: center;
            animation: fadeIn 0.5s ease-out 0.3s forwards;
            opacity: 0;
        }
        
        .contact-icon {
            width: 70px;
            height: 70px;
            margin: 0 auto 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #e6f0ff 0%, #d1e4ff 100%);
            color: #2575fc;
            font-size: 30px;
        }
        
        .contact-title {
            font-size: 22px;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 15px;
            background: linear-gradient(90deg, #2575fc, #6a11cb);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        
        .contact-desc {
            color: #7f8c8d;
            margin-bottom: 25px;
            line-height: 1.7;
            font-size: 16px;
        }
        
        .contact-methods {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 25px;
            flex-wrap: wrap;
        }
        
        .contact-method {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 15px 20px;
            background: #f8faff;
            border-radius: 12px;
            min-width: 150px;
            transition: all 0.3s ease;
        }
        
        .contact-method:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(37, 117, 252, 0.15);
        }
        
        .contact-method i {
            font-size: 28px;
            color: #2575fc;
            margin-bottom: 10px;
        }
        
        .contact-method h4 {
            font-size: 16px;
            color: #2c3e50;
            margin-bottom: 5px;
        }
        
        .contact-method p {
            font-size: 14px;
            color: #7f8c8d;
        }
        
        .contact-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(90deg, #2575fc, #6a11cb);
            color: white;
            padding: 14px 35px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            box-shadow: 0 5px 15px rgba(37, 117, 252, 0.3);
            transition: all 0.3s ease;
            gap: 10px;
        }
        
        .contact-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(37, 117, 252, 0.4);
        }
        
        .contact-button i {
            font-size: 18px;
        }
        
        /* 动画效果 */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .faq-item {
            animation: fadeIn 0.5s ease-out forwards;
            opacity: 0;
        }
        
        .faq-item:nth-child(1) { animation-delay: 0.3s; }
        .faq-item:nth-child(2) { animation-delay: 0.4s; }
        .faq-item:nth-child(3) { animation-delay: 0.5s; }
        .faq-item:nth-child(4) { animation-delay: 0.6s; }
        .faq-item:nth-child(5) { animation-delay: 0.7s; }
        .faq-item:nth-child(6) { animation-delay: 0.8s; }
        .faq-item:nth-child(7) { animation-delay: 0.9s; }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .categories {
                grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
            }
            
            .contact-methods {
                flex-direction: column;
                align-items: center;
            }
            
            .contact-method {
                width: 100%;
                max-width: 300px;
            }
        }
        
        @media (max-width: 480px) {
            .about_box {
                padding: 15px;
            }
            
            .search-box input {
                padding: 12px 45px 12px 15px;
                font-size: 14px;
            }
            
            .categories {
                grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
            }
            
            .category-item {
                padding: 15px 10px;
            }
            
            .category-icon {
                width: 40px;
                height: 40px;
                font-size: 18px;
            }
            
            .faq-item {
                padding: 15px;
            }
            
            .faq-question {
                font-size: 15px;
            }
        }
    </style>
</head>
<body>
    <!-- 标题栏 -->
    <header id="header">
        <div class="header_con">
            <a href="javascript:history.go(-1);">
                <span></span>
            </a> 
            <div class="top_tit">帮助中心</div>
        </div>
    </header>
    
    <!-- 主内容区 -->
    <div class="about_box">
        <!-- 搜索区域 -->
        <div class="search-box">
            <input type="text" placeholder="搜索帮助问题...">
            <i class="fas fa-search"></i>
        </div>
        
        <!-- 分类区域 -->
        <div class="category-section">
            <h2 class="section-title">问题分类</h2>
            <div class="categories">
                <div class="category-item">
                    <div class="category-icon">
                        <i class="fas fa-coins"></i>
                    </div>
                    <h3>积分问题</h3>
                </div>
                
                <div class="category-item">
                    <div class="category-icon">
                        <i class="fas fa-user-circle"></i>
                    </div>
                    <h3>账户相关</h3>
                </div>
                
                <div class="category-item">
                    <div class="category-icon">
                        <i class="fas fa-trophy"></i>
                    </div>
                    <h3>答题挑战</h3>
                </div>
                
                <div class="category-item">
                    <div class="category-icon">
                        <i class="fas fa-gift"></i>
                    </div>
                    <h3>奖励兑换</h3>
                </div>
                
                <div class="category-item">
                    <div class="category-icon">
                        <i class="fas fa-mobile-alt"></i>
                    </div>
                    <h3>设备问题</h3>
                </div>
                
                <div class="category-item">
                    <div class="category-icon">
                        <i class="fas fa-shield-alt"></i>
                    </div>
                    <h3>安全隐私</h3>
                </div>
            </div>
        </div>
        
        <!-- 常见问题区域 -->
        <div class="faq-section">
            <h2 class="section-title">常见问题解答</h2>
            <div class="faq-container">
                <div class="faq-item">
                    <div class="faq-header">
                        <div class="faq-question">
                            <i class="fas fa-question-circle"></i>
                            如何获取更多积分？
                            <span class="popular-tag">热门</span>
                        </div>
                        <div class="faq-toggle">
                            <i class="fas fa-chevron-down"></i>
                        </div>
                    </div>
                    <div class="faq-answer">
                        <p>您可以通过以下方式获取更多积分：</p>
                        <ul style="margin-top: 10px; padding-left: 20px;">
                            <li>每日登录：每天首次登录可获得10积分</li>
                            <li>完成答题挑战：每次挑战成功可获得20-100积分</li>
                            <li>邀请好友：每成功邀请一位好友注册可获得50积分</li>
                            <li>连续签到：连续签到7天可获得额外100积分奖励</li>
                            <li>参与活动：定期参与平台活动可获得丰富积分奖励</li>
                        </ul>
                    </div>
                </div>
                
                <div class="faq-item">
                    <div class="faq-header">
                        <div class="faq-question">
                            <i class="fas fa-question-circle"></i>
                            积分可以兑换哪些奖励？
                        </div>
                        <div class="faq-toggle">
                            <i class="fas fa-chevron-down"></i>
                        </div>
                    </div>
                    <div class="faq-answer">
                        <p>我们的积分商城提供多种奖励选择：</p>
                        <ul style="margin-top: 10px; padding-left: 20px;">
                            <li>平台会员：500积分可兑换1个月会员</li>
                            <li>实物奖品：电子产品、书籍、生活用品等</li>
                            <li>优惠券：各大电商平台优惠券</li>
                            <li>现金红包：可直接提现至微信或支付宝</li>
                            <li>专属特权：解锁高级题库和功能</li>
                        </ul>
                        <p style="margin-top: 10px;">积分兑换比例：100积分 ≈ 1元人民币</p>
                    </div>
                </div>
                
                <div class="faq-item">
                    <div class="faq-header">
                        <div class="faq-question">
                            <i class="fas fa-question-circle"></i>
                            如何参加答题挑战赛？
                        </div>
                        <div class="faq-toggle">
                            <i class="fas fa-chevron-down"></i>
                        </div>
                    </div>
                    <div class="faq-answer">
                        <p>参加答题挑战赛非常简单：</p>
                        <ol style="margin-top: 10px; padding-left: 20px;">
                            <li>打开快答答题APP，进入"挑战赛"页面</li>
                            <li>选择您感兴趣的赛事（每日有多个时段赛事）</li>
                            <li>支付报名积分（通常为20-50积分）</li>
                            <li>在指定时间参加比赛</li>
                            <li>根据答题正确率和速度获得排名和奖励</li>
                        </ol>
                        <p style="margin-top: 10px; background: #f0f7ff; padding: 10px; border-radius: 8px;">
                            <i class="fas fa-lightbulb" style="color: #ffc107;"></i> 
                            小贴士：提前练习相关题库可大幅提高获胜几率！
                        </p>
                    </div>
                </div>
                
                <div class="faq-item">
                    <div class="faq-header">
                        <div class="faq-question">
                            <i class="fas fa-question-circle"></i>
                            忘记密码如何找回？
                            <span class="popular-tag">热门</span>
                        </div>
                        <div class="faq-toggle">
                            <i class="fas fa-chevron-down"></i>
                        </div>
                    </div>
                    <div class="faq-answer">
                        <p>如果您忘记了密码，可以通过以下方式找回：</p>
                        <div style="margin-top: 15px; background: #f9f9ff; padding: 15px; border-radius: 10px;">
                            <p><strong>手机号找回：</strong></p>
                            <ol style="padding-left: 20px; margin-top: 5px;">
                                <li>在登录页面点击"忘记密码"</li>
                                <li>输入您注册的手机号码</li>
                                <li>获取短信验证码</li>
                                <li>设置新密码并确认</li>
                            </ol>
                            
                            <p style="margin-top: 15px;"><strong>邮箱找回：</strong></p>
                            <ol style="padding-left: 20px; margin-top: 5px;">
                                <li>选择"通过邮箱找回"</li>
                                <li>输入您注册的电子邮箱</li>
                                <li>查收密码重置邮件</li>
                                <li>点击邮件中的链接设置新密码</li>
                            </ol>
                        </div>
                        <p style="margin-top: 15px;">如仍遇到问题，请联系在线客服获取帮助。</p>
                    </div>
                </div>
                
                <div class="faq-item">
                    <div class="faq-header">
                        <div class="faq-question">
                            <i class="fas fa-question-circle"></i>
                            为什么我的答题记录消失了？
                        </div>
                        <div class="faq-toggle">
                            <i class="fas fa-chevron-down"></i>
                        </div>
                    </div>
                    <div class="faq-answer">
                        <p>答题记录消失可能有以下原因：</p>
                        <ul style="margin-top: 10px; padding-left: 20px;">
                            <li><strong>缓存清理：</strong>如果您清理了APP缓存或浏览器缓存，可能导致本地记录丢失</li>
                            <li><strong>账号切换：</strong>使用不同账号登录会显示对应账号的记录</li>
                            <li><strong>系统维护：</strong>平台维护期间可能暂时无法查看历史记录</li>
                            <li><strong>数据同步延迟：</strong>网络问题可能导致数据同步延迟</li>
                        </ul>
                        <p style="margin-top: 15px; padding: 12px; background: #f0f7ff; border-radius: 8px; border-left: 4px solid #2575fc;">
                            <i class="fas fa-info-circle" style="color: #2575fc;"></i> 
                            如果您的答题记录在24小时后仍未恢复，请联系客服并提供您的用户ID和问题发生时间。
                        </p>
                    </div>
                </div>
                
                <div class="faq-item">
                    <div class="faq-header">
                        <div class="faq-question">
                            <i class="fas fa-question-circle"></i>
                            如何修改个人资料？
                        </div>
                        <div class="faq-toggle">
                            <i class="fas fa-chevron-down"></i>
                        </div>
                    </div>
                    <div class="faq-answer">
                        <p>修改个人资料步骤：</p>
                        <div style="display: flex; margin-top: 15px; gap: 20px; flex-wrap: wrap;">
                            <div style="flex: 1; min-width: 250px; background: #f8faff; padding: 15px; border-radius: 10px;">
                                <h4 style="color: #2575fc; margin-bottom: 10px;"><i class="fas fa-mobile-alt"></i> APP端</h4>
                                <ol style="padding-left: 20px;">
                                    <li>进入"我的"页面</li>
                                    <li>点击右上角设置图标</li>
                                    <li>选择"个人资料"</li>
                                    <li>修改相关信息</li>
                                    <li>点击保存</li>
                                </ol>
                            </div>
                            
                            <div style="flex: 1; min-width: 250px; background: #f8faff; padding: 15px; border-radius: 10px;">
                                <h4 style="color: #2575fc; margin-bottom: 10px;"><i class="fas fa-desktop"></i> 网页端</h4>
                                <ol style="padding-left: 20px;">
                                    <li>登录后点击右上角头像</li>
                                    <li>选择"账户设置"</li>
                                    <li>在"个人资料"标签页修改</li>
                                    <li>点击保存更改</li>
                                </ol>
                            </div>
                        </div>
                        <p style="margin-top: 15px; color: #e74c3c;">
                            <i class="fas fa-exclamation-triangle"></i> 注意：修改用户名每月仅限一次，请谨慎操作。
                        </p>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 联系客服区域 -->
        <div class="contact-section">
            <div class="contact-icon">
                <i class="fas fa-headset"></i>
            </div>
            <h3 class="contact-title">需要更多帮助？</h3>
            <p class="contact-desc">我们的客服团队随时为您提供专业解答，多种联系方式供您选择</p>
            
            <div class="contact-methods">
                <div class="contact-method">
                    <i class="fas fa-comments"></i>
                    <h4>在线客服</h4>
                    <p>9:00-22:00</p>
                </div>
                
                <div class="contact-method">
                    <i class="fas fa-envelope"></i>
                    <h4>客服邮箱</h4>
                    <p>support@kuaianswer.com</p>
                </div>
                
                <div class="contact-method">
                    <i class="fab fa-weixin"></i>
                    <h4>微信公众号</h4>
                    <p>快答答题服务号</p>
                </div>
            </div>
            
            <a href="#" class="contact-button">
                <i class="fas fa-comment-dots"></i> 立即联系在线客服
            </a>
        </div>
    </div>

    <script>
        // 常见问题展开/收起功能
        document.querySelectorAll('.faq-item').forEach(item => {
            const header = item.querySelector('.faq-header');
            
            header.addEventListener('click', function() {
                item.classList.toggle('active');
            });
        });
        
        // 添加点击效果
        document.querySelectorAll('.faq-item, .category-item').forEach(item => {
            item.addEventListener('click', function() {
                // 添加点击效果
                this.style.transform = 'scale(0.98)';
                
                // 恢复原状
                setTimeout(() => {
                    this.style.transform = '';
                }, 200);
            });
        });
        
        // 添加悬浮效果
        document.querySelectorAll('.faq-item, .category-item, .contact-method').forEach(item => {
            item.addEventListener('mouseenter', function() {
                this.style.boxShadow = '0 10px 25px rgba(37, 117, 252, 0.2)';
            });
            
            item.addEventListener('mouseleave', function() {
                this.style.boxShadow = '';
            });
        });
        
        // 搜索功能示例
        const searchInput = document.querySelector('.search-box input');
        searchInput.addEventListener('focus', function() {
            this.parentElement.style.transform = 'scale(1.02)';
        });
        
        searchInput.addEventListener('blur', function() {
            this.parentElement.style.transform = '';
        });
        
        // 模拟搜索功能
        searchInput.addEventListener('keyup', function(e) {
            if (e.key === 'Enter') {
                const searchTerm = this.value.toLowerCase();
                let found = false;
                
                document.querySelectorAll('.faq-item').forEach(item => {
                    const question = item.querySelector('.faq-question').textContent.toLowerCase();
                    if (question.includes(searchTerm)) {
                        item.style.display = '';
                        item.scrollIntoView({ behavior: 'smooth', block: 'center' });
                        found = true;
                        
                        // 展开匹配的问题
                        if (!item.classList.contains('active')) {
                            item.classList.add('active');
                        }
                    } else {
                        item.style.display = 'none';
                    }
                });
                
                if (!found) {
                    alert('没有找到相关问题，请尝试其他关键词');
                }
                
                this.value = '';
            }
        });
    </script>
</body>
</html>